package com.zhora.ai.v1.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * doc片段
 *
 * @author zhehen.lu
 * @date 2025/9/28 16:13
 */
@Data
@Schema(name = "AiLibraryDocSegmentDTO", description = "ai文档-片段信息列表响应模型")
public class AiLibraryDocSegmentListDTO {
    /**
     * ID
     */
    @Schema(description = "ID")
    private Long id;

    /**
     * 文档ID
     */
    @Schema(description = "文档ID")
    private Long docId;

    /**
     * 向量片段ID
     */
    @Schema(description = "向量片段ID")
    private String embeddingId;

    /**
     * 内容
     */
    @Schema(description = "内容")
    private String content;

    /**
     * token
     */
    @Schema(description = "token")
    private Integer tokenUsage;
}
